package com.yowasa.xiuxian.service;

import com.yowasa.xiuxian.engine.MessageEngine;
import com.yowasa.xiuxian.entity.mys.ClickMsgComponent;
import com.yowasa.xiuxian.entity.mys.SendMessage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
@Slf4j
public class ReplyService {

    @Autowired
    private MessageEngine messageEngine;


    public void replyMys(SendMessage sendMessage) {
        messageEngine.resolveMessageMys(sendMessage);
    }


    public void clickReplyMys(ClickMsgComponent clickMsgComponent) {
        messageEngine.resolveClickMessageMys(clickMsgComponent);
    }
}
